home *** CD-ROM | disk | FTP | other *** search
/ SGI IndiZone 2 / SGI IndiZone 2.iso / OutOfBox.idb / usr / people / tour / oob / scenegraphs / connect / connections.iv.z / connections.iv
Text File  |  1994-12-16  |  3KB  |  148 lines

  1. #Inventor V1.0 ascii
  2.  
  3.     DEF img1 BufferedMovie {
  4.     filename "movies/connect/ancient.mv"
  5.     zoom 2.0 2.0
  6. #    origin 106 240 0
  7.     origin 107 240 -2
  8.     buffering SYNC
  9.     loopType LOOP
  10.     }
  11.     DEF img2 BufferedMovie {
  12.     filename "movies/connect/middle.mv"
  13.     zoom 2.0 2.0
  14. #    origin 318 240 0
  15.     origin 320 240 0
  16.     buffering SYNC
  17.     loopType LOOP
  18.     }
  19.     DEF img3 BufferedMovie {
  20.     filename "movies/connect/modern.mv"
  21.     zoom 2.0 2.0
  22. #    origin 530 240 0
  23.     origin 533 240 -2
  24.     buffering SYNC
  25.     loopType LOOP
  26.     }
  27.     HotObject {
  28.     genActList ActionList {
  29.         ChangeViewerAction {
  30.             newViewer STATIC
  31.             escapeRoom "scenegraphs/pillars/pillars.iv"
  32.         }
  33.         SetCameraAction {
  34.             location 0.0 0.0 1.0
  35.             lookAt 0.0 0.0 0.0
  36.             fieldOfView 0.78539817 ## pi/4
  37.             pathType ABSOLUTE
  38.         }
  39.     }
  40.     }
  41.     HotObject {
  42.     selActList ActionList {
  43.         DEF WAIT WaitCursorAction {}
  44.         DEF CMA
  45.         ConnectMovieAction {
  46.             movieNode1 USE img1
  47.             movieNode2 USE img2
  48.             movieNode3 USE img3
  49.             movieLength1 8
  50.             movieLength2 12
  51.             movieLength3 16
  52.             audioNode1 AudioNode {
  53. #                     filename "sounds/earth/eno-loop.aifc"
  54.                 filename "sounds/connect/connections_loop.aifc"
  55.                 loop YUP
  56.                 rude NOPE
  57.                 sproc YUP
  58.                 maxOutputLevel .2
  59.                 }
  60.             youLoseSound "sounds/connect/bzzt.aiff"
  61.             validConnections [ 0 0 0,
  62.                                 4 6 4,
  63.                                 4 0 8,
  64.                                 2 2 12,
  65.                                 6 10 14,
  66.                                 6 4 6
  67.                                 ]
  68.             connectionMovies [ "movies/connect/one_one_one.mv",
  69.                                "movies/connect/five_seven_five.mv",
  70.                                "movies/connect/five_one_nine.mv",
  71.                                "movies/connect/three_three_thirteen.mv",
  72.                                "movies/connect/seven_eleven_fifteen.mv",
  73.                                "movies/connect/seven_five_seven.mv"
  74.             ]
  75.         }
  76.         DEF REG RegularCursorAction {}
  77.     }
  78.     genActList LoopActionList {
  79.         ConnectMovieGenAction {
  80.             connectMovieNode USE CMA
  81.         }
  82.     }
  83.  
  84.         Material {
  85.             diffuseColor 0 0 1
  86.         }
  87.         DrawStyle
  88.         {
  89.             style INVISIBLE
  90.         }
  91.         Cube {
  92.             width 1.2
  93.             height 1.2
  94.             depth 0.01
  95.         }
  96.     }
  97.  
  98.     DrawStyle {
  99.         ## style FILLED
  100.         style INVISIBLE
  101.     }
  102.     ## info button
  103.     HotObject {
  104.     selActList ActionList {
  105.         USE WAIT
  106.         LinkAction {
  107.             link "playaifc -q sounds/pillars/help.aifc &"
  108.         }
  109.         ChangeSceneAction {
  110.             NewSceneGraph "scenegraphs/connect/help.iv"
  111.         }
  112.         USE REG
  113.     }
  114.     Separator {
  115.     Transform {
  116.         translation 0.155 -0.185 0.4
  117.     }
  118.     Cube {
  119.         width 0.05
  120.         height 0.05
  121.         depth 0.025
  122.     }
  123.     }
  124.     }
  125.  
  126.     ## exit object
  127.     HotObject {
  128.     selActList ActionList {
  129.         USE WAIT
  130.         LinkAction {
  131.             link "playaifc -q sounds/pillars/gong.aifc &"    
  132.         }
  133.         ChangeSceneAction {
  134.             NewSceneGraph "scenegraphs/pillars/pillars.iv"
  135.         }
  136.         USE REG
  137.     }
  138.     Separator {
  139.     Transform {
  140.         translation 0.23 -0.185 0.4
  141.     }
  142.     Cube {
  143.     width 0.05
  144.     height 0.05
  145.     depth 0.025
  146.     }
  147.     }
  148. }